package com.zhonghui.modlules.manage.dto;

public class ChartDataDto {
    private Double num;
    private String time;

    public ChartDataDto() {
    }

    public Double getNum() {
        return this.num;
    }

    public String getTime() {
        return this.time;
    }

    public void setNum(final Double num) {
        this.num = num;
    }

    public void setTime(final String time) {
        this.time = time;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ChartDataDto)) {
            return false;
        } else {
            ChartDataDto other = (ChartDataDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$num = this.getNum();
                Object other$num = other.getNum();
                if (this$num == null) {
                    if (other$num != null) {
                        return false;
                    }
                } else if (!this$num.equals(other$num)) {
                    return false;
                }

                Object this$time = this.getTime();
                Object other$time = other.getTime();
                if (this$time == null) {
                    if (other$time != null) {
                        return false;
                    }
                } else if (!this$time.equals(other$time)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ChartDataDto;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $num = this.getNum();
        result = result * 59 + ($num == null ? 43 : $num.hashCode());
        Object $time = this.getTime();
        result = result * 59 + ($time == null ? 43 : $time.hashCode());
        return result;
    }

    public String toString() {
        return "ChartDataDto(num=" + this.getNum() + ", time=" + this.getTime() + ")";
    }
}

